var title : Texture;
var text  : Texture;

var btnPlay : Texture2D;

function OnGUI()
{	
	if(changeView.startCamera == 1)
	{
		// Display GUI Title
		GUI.Box(Rect((Screen.width /2)-250, (Screen.height /2)-300, title.width, title.height), title);
		
		// Make text "flash" every second
		if(Time.time % 2 < 1)
			GUI.Box(Rect((Screen.width /2)-250, Screen.height /2, text.width, text.height), text);

		// Debug Line
		//Debug.Log("Display GUI Title and Text!");
	}
	
	if(changeView.startCamera == 2 || changeView.startCamera == 3)
	{
		// Display GUI Title but not flashing text
		GUI.Box(Rect((Screen.width /2)-250, (Screen.height /2)-300, title.width, title.height), title);
		
		// Debug Line		
		//Debug.Log("Display GUI Title but not flashing text!");
		
		if(GUI.Button(Rect((Screen.width /2)-250, (Screen.height /2)-130, btnPlay.width, btnPlay.height), btnPlay))
			// Load next level
			Application.LoadLevel("nextlvl");

		// Debug Line
		//Debug.Log("Play Game Pressed!");
	}
}